home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000034_fdc@watsun.cc.columbia.edu_Fri Oct 5 15:52:25 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  39 lines

  1. Article: 12842 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.unix.aix,comp.protocols.kermit.misc
  5. Subject: Re: ftp download with help of a file
  6. Date: 5 Oct 2001 19:52:50 GMT
  7. Organization: Columbia University
  8. Lines: 22
  9. Message-ID: <9pl32i$36l$1@newsmaster.cc.columbia.edu>
  10. References: <5e23bad3.0110050335.3c8e127@posting.google.com> <9pkgfq$ipf$1@newsmaster.cc.columbia.edu> <9pl0ah$so3$1@newsmonger.rutgers.edu>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1002311570 3285 128.59.39.2 (5 Oct 2001 19:52:50 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 5 Oct 2001 19:52:50 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.unix.aix:223823 comp.protocols.kermit.misc:12842
  16.  
  17. In article <9pl0ah$so3$1@newsmonger.rutgers.edu>,
  18. sp2 admin  <bsf@er6.rutgers.edu> wrote:
  19. : havent tried it, but from the ftp man page:
  20. :   o If a - (hyphen) is specified for the parameter, standard input (stdin) is
  21. :     used for read operations and standard output (stdout) is used for write
  22. :     operations.
  23. : as long as you can get your files into stdin, you should be able to do
  24. : it that way...
  25. Stuffing stdin into FTP's command processor is not recommended.  There is
  26. no error-checking, no feedback, etc, not to mention that it often simply
  27. just does not work.  Please read the beginning of:
  28.  
  29.   http://www.columbia.edu/kermit/ftpscripts.html
  30.  
  31. for elaboration about why, if you want to automate FTP sessions, the
  32. scripting needs to be integrated with the FTP client (Item 1).  Then read
  33. Item 2 about the .netrc file.  Then read Item 3 about 'expect', etc.
  34.  
  35. - Frank
  36.